/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.restaurant.facade;

import com.restaurant.entities.Reservations;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Dexter
 */
@Local
public interface ReservationsFacadeLocal {

    void create(Reservations reservations);

    void edit(Reservations reservations);

    void remove(Reservations reservations);

    Reservations find(Object id);

    List<Reservations> findAll();

    List<Reservations> findRange(int[] range);

    int count();
    
    public List<Reservations> findClientRange(String login);

    public int clientCount(String login);
}
